#include <jost/IntegralType.hpp>

template<>
std::string
boost::lexical_cast<std::string, bool>(const bool& arg)
{
    std::string ret_val;
    if (arg)
        ret_val = "true";
    else
        ret_val = "false";

    return ret_val;
}

template<>
std::string
boost::lexical_cast<std::string, std::string>(const std::string& arg)
{
    return "\"" + arg + "\"";
}

template<>
std::string
boost::lexical_cast<std::string, jost::nil_t>(const jost::nil_t& arg) 
{
    return "null";
}

